package com.xiguaji.tiktok.task.monitor;

import lombok.Getter;
import lombok.Setter;

import java.util.concurrent.atomic.AtomicLong;
@Setter
@Getter
public class AvgStaticstics {

    private AtomicLong dateBloggerMainEventAvg=new AtomicLong();
    //通过播主获取视频接口总耗时
    private AtomicLong awemeSpiderBloggerAwemesAvg=new AtomicLong();

    private AtomicLong bloggerSpiderAvg=new AtomicLong();
    private AtomicLong refreshBloggerAwemeAvg=new AtomicLong();
    private AtomicLong getBloggerAwemeExtendAvg=new AtomicLong();
    private AtomicLong getBloggerAwemesAvg=new AtomicLong();
    private AtomicLong refreshBloggerAwemeScoreAvg=new AtomicLong();
    private AtomicLong refreshBloggerAwemeForESAvg=new AtomicLong();
    private AtomicLong updateBloggerMainTabAvg=new AtomicLong();
    private AtomicLong saveBloggerMain2ESAvg=new AtomicLong();
    private AtomicLong bloggerAwemesSizeFromDbAvg   =new AtomicLong();
    private AtomicLong allTimesAvg=new AtomicLong();
    private AtomicLong batchInsertTimesAvg=new AtomicLong();
    private AtomicLong batchUpdateTimesAvg=new AtomicLong();
    private AtomicLong downPic2S3TimesAvg=new AtomicLong();
    private AtomicLong redis4Pic2S3TimesAvg=new AtomicLong();
    private AtomicLong queryAwemeTimesAvg=new AtomicLong();

    private AtomicLong queryBloggerTypeTimesAvg=new AtomicLong();
    private AtomicLong addAweme2ListTimesAvg=new AtomicLong();
    private AtomicLong updateAweme2ListTimesAvg=new AtomicLong();
    private AtomicLong formatDateTimesAvg=new AtomicLong();

    @Override
    public String toString() {
        return "AvgStaticstics{" +
                "dateBloggerMainEventAvg=" + dateBloggerMainEventAvg +
                ", awemeSpiderBloggerAwemesAvg=" + awemeSpiderBloggerAwemesAvg +
                ", bloggerSpiderAvg=" + bloggerSpiderAvg +
                ", refreshBloggerAwemeAvg=" + refreshBloggerAwemeAvg +
                ", getBloggerAwemeExtendAvg=" + getBloggerAwemeExtendAvg +
                ", getBloggerAwemesAvg=" + getBloggerAwemesAvg +
                ", refreshBloggerAwemeScoreAvg=" + refreshBloggerAwemeScoreAvg +
                ", refreshBloggerAwemeForESAvg=" + refreshBloggerAwemeForESAvg +
                ", updateBloggerMainTabAvg=" + updateBloggerMainTabAvg +
                ", saveBloggerMain2ESAvg=" + saveBloggerMain2ESAvg +
                ", bloggerAwemesSizeFromDbAvg=" + bloggerAwemesSizeFromDbAvg +
                ", allTimesAvg=" + allTimesAvg +
                ", batchInsertTimesAvg=" + batchInsertTimesAvg +
                ", batchUpdateTimesAvg=" + batchUpdateTimesAvg +
                ", downPic2S3TimesAvg=" + downPic2S3TimesAvg +
                ", redis4Pic2S3TimesAvg=" + redis4Pic2S3TimesAvg +
                ", queryAwemeTimesAvg=" + queryAwemeTimesAvg +
                ", queryBloggerTypeTimesAvg=" + queryBloggerTypeTimesAvg +
                ", addAweme2ListTimesAvg=" + addAweme2ListTimesAvg +
                ", updateAweme2ListTimesAvg=" + updateAweme2ListTimesAvg +
                ", formatDateTimesAvg=" + formatDateTimesAvg +
                '}';
    }
}
